<%@ include file="/common/taglibs.jsp"%>

<%@include file="include/customerSearchCriteria.jspf"%>
				
<div id="customerSelectorForm" name="customerSelectorForm">
	<table width="100%">
		<tr>
			<td  valign="top" style="padding:0 10px;">
				<div id="customerSelectorResults">
					<%--fill customerSelectorResults.jsp --%>
				</div>
			</td>
			<td  id="multipleSelectDiv" valign="top" style="display:none;width:200px;">
				<table class="op_table" >
					<tr>
						<th colspan="2">
							<fmt:message key="customerSelector.selectedCustomerTitle"/>&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" id="ok" class="btn2" value="<fmt:message key="button.confirm"/>" onclick="selectCustomers();"/>
							<input type="button" id="ok" class="btn2_y" value="<fmt:message key="button.clearup"/>" onclick="cleanupCustomers();"/>
						</th>
					</tr>
				</table>
				<ul class="op_table" id="selectedCustomerInfo"  style="height:470px;overflow:auto">
				</ul>
			</td>
		</tr>
	</table>	
</div>


<script type="text/javascript" defer>
var callbackFunc = eval("parent.${param.selectorId}CallbackFunc");
var multiple = eval("parent.${param.selectorId}Multiple");
</script>
<c:set var="probizJs_region" value="true" scope="request"/>
<c:set var="plugin_chromatable" value="true" scope="request"/> 
<script type="text/javascript"	src="${ctxPath}/scripts/probiz/customer/customerSelector.js?rs=${appConfig.rs}"></script>
<script type="text/javascript">
$j(document).ready(function () {
	__FMTExtend = {
		customerSelector_pleaseSelect:"<fmt:message key="customerSelector.pleaseSelect"/>",
   		customerSelector_alreadySelect:"<fmt:message key="customerSelector.alreadySelect"/>"
	    
	};
	$j.extend(__FMT, __FMTExtend); 
});	
</script>
